package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.PersonalInformationImgDao;
import io.renren.modules.generator.entity.PersonalInformationImgEntity;
import io.renren.modules.generator.service.PersonalInformationImgService;



@Service("personalInformationImgService")
public class PersonalInformationImgServiceImpl implements PersonalInformationImgService {
	@Autowired
	private PersonalInformationImgDao personalInformationImgDao;
	
	@Override
	public PersonalInformationImgEntity queryObject(Integer id){
		return personalInformationImgDao.queryObject(id);
	}
	
	@Override
	public List<PersonalInformationImgEntity> queryList(Map<String, Object> map){
		return personalInformationImgDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return personalInformationImgDao.queryTotal(map);
	}
	
	@Override
	public void save(PersonalInformationImgEntity personalInformationImg){
		personalInformationImgDao.save(personalInformationImg);
	}
	
	@Override
	public void update(PersonalInformationImgEntity personalInformationImg){
		personalInformationImgDao.update(personalInformationImg);
	}
	
	@Override
	public void delete(Integer id){
		personalInformationImgDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		personalInformationImgDao.deleteBatch(ids);
	}
	
}
